module.exports = {
  devServer: {
    proxy: {
      '/api': {
        target: 'http://127.0.0.1:3000',
        pathRewrite: { '^/api': '' },
      },
      '/jd': {
        target: 'https://daojia.jd.com',
        pathRewrite: { '^/jd': '' },
      },
    },
  },
};
